package com.heima.homeservicemanagementsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.tags.Tag;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 从业人员;
 *
 * @author : http://www.chiner.pro
 * @date : 2025-4-22
 */
@Data
/*@ApiModel(value = "从业人员",description = "")*/
@Tag(name = "从业人员")
@TableName("employees")
@EqualsAndHashCode(callSuper = false)
public class Employees {
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
    @Schema(title = "电话", description = "")
    private String phone;
    @Schema(title = "验证码", description = "")
    @TableField(exist = false)
    private String code;
    @Schema(title = "盐", description = "")
    private String slat;
    @Schema(title = "密码", description = "")
    private String password;
}